<style>
.zm {
    border: 1px solid #CCCCCC;
    margin-right: 5%;
    display: inline-block;
    background: #eee;
    width: 200px;
    border-radius: 7px;
    height: 100px;
    text-align: center;
    line-height: 100px;
}
</style>

<h3 class="page-header">企业认证信息
</h3>

<form id="myform" action="" method="post" class="form-horizontal">
<div class="tab-pane active" id="panel-1">
	<div class="mt30 bg-white pl mb100">
	
		<div class="row p0 ml0 mr2">
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>代表昵称</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control " name="nick_name" value="<?= $CertifiedSubmit['nick_name'] ?>" readonly>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>联系方式</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control " name="phone" value="<?= $CertifiedSubmit['phone'] ?>" readonly>
                </div>
            </div>
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>企业名称</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="real_name" value="<?= $CertifiedSubmit['company_name'] ?>" readonly>
				</div>
			</div>
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>法人姓名</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="real_name" value="<?= $CertifiedSubmit['legal_person_name'] ?>" readonly>
				</div>
			</div>
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>身份证号</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="ID_card" value="<?= $CertifiedSubmit['ID_card'] ?>" readonly>
				</div>
			</div>
			<div class="form-group ">
					
						<label class="col-sm-2 control-label s" style="    margin-left: 0px;"><i class="iconfont icon-dian color-blue"></i>法人身份证</label>
					
					<p class="color-888 col-sm-10 mt15 mb15 ml20"></p>
					
					<div class="zm color-888 mb100" style="margin-left: 2%;"><img  style="height:100%;" alt="" src="<?= $CertifiedSubmit['sfz_pic1'] ?>"></div>
					<div class="zm color-888 mb100" style="margin-left: 6%;"><img style="height:100%;" alt="" src="<?= $CertifiedSubmit['sfz_pic2'] ?>"></div>
			</div>
			
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>执照编码</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="yyzz_code" value="<?= $CertifiedSubmit['yyzz_code'] ?>" readonly>
				</div>
			</div>

            <div class="form-group ">
					
					<label class="col-sm-2 control-label s" style="margin-left: 0px;"><i class="iconfont icon-dian color-blue"></i>营业执照</label>
					
					<p class="color-888 col-sm-10 mt15 mb15 ml20"></p>
					
					<!-- <div class="zm color-888 mb100" style="margin:0%;"> -->
						<img style="height: 500px;width:350px;" alt="" src="<?= $CertifiedSubmit['yyzz_pic1'] ?>">
					<!-- </div> -->
					
					<!-- <div class="zm color-888 mb100" style="margin:0%;"> -->
						<img style="height: 500px;width:350px;margin-left:10px;" alt="" src="<?= $CertifiedSubmit['yyzz_pic2'] ?>">
					<!-- </div> -->
			</div>
			
			
			
			<div class="form-group">
				<label for="photo" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>企业电话</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="company_tel" placeholder="企业电话" value="<?= $CertifiedSubmit['company_tel'] ?> "readonly>
				</div>
				
				<label for="email" class="col-sm-2 control-label"><i class="iconfont icon-dian color-blue"></i>企业邮箱</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="company_email" placeholder="企业邮箱" value="<?= $CertifiedSubmit['company_email'] ?> "readonly>
				</div>
				
			</div>

			
			<div class="form-group">
				<label for="address" class="col-sm-2 control-label">推荐码</label>
				<div class="col-sm-3">
					<input type="text" class="form-control " name="recommended_code"  readonly>
				</div>
			</div>
					
		
			<div class="form-group mb50" style="    text-align: center;">
				<a href="<?= URL::site('certified/open?id='.$CertifiedSubmit['id']);?>" class="btn btn-info btn-xs ajax-update">审核通过</a>
				<a href="<?= URL::site('certified/close?id='.$CertifiedSubmit['id']);?>" class="btn btn-danger btn-xs ajax-update">审核失败</a>
			</div>
		</div>

	</div>

</div>

    <div class="sliceImg" style="z-index:999999; width: 100%;height: 100%;top:0;left:0;position:fixed;background: rgba(0,0,0,0.5); display: none; text-align: center" >
        <img  src="">
    </div>
</form>
<script>
    $('.tab-pane img').click(function(){
        var imgSrc = $(this).attr('src'),
            winH = $(window).height()-50+'px';

        $('.sliceImg').fadeIn().find('img').attr('src',imgSrc).css({
            height:winH,
            marginTop:'30px'
        });
    })

    $('.sliceImg').click(function(){
        $(this).fadeOut();
    })

    $('.sliceImg img').click(function(e){
       e.stopPropagation();
    })

</script>

